import 'package:json_annotation/json_annotation.dart';

part 'refund_reason.g.dart';

@JsonSerializable()
class RefundReason extends Object {
  @JsonKey(name: 'id')
  int id;

  @JsonKey(name: 'name')
  String name;

  RefundReason(
    this.id,
    this.name,
  );

  factory RefundReason.fromJson(Map<String, dynamic> srcJson) =>
      _$RefundReasonFromJson(srcJson);
}
